<template>
  <div class="m-title"> {{ title }} </div>
</template>
<script lang="ts">
  import { defineComponent } from 'vue'
  export default defineComponent({
    name: 'BaseTitle',
    props: {
      title: { type: String, default: '' },
    },
    setup() {
      return {}
    },
  })
</script>

<style lang="scss" scoped>
  .m-title {
    position: relative;
    font-size: 16px;
    font-weight: bold;
    padding-left: 14px;
  }
  .m-title::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 18px;
    top: 50%;
    transform: translatey(-50%);
    left: 0;
    background-color: #0960bd;
    border-color: black;
    border-style: dotted;
  }
</style>
